package com.subsequent.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class DepartmentPharmacyConfig {
    private Integer id;
    private Integer parentId;
    private String name;
    private String level;
    private String pharmacy;
    private String remark;
    //    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    private String status;

    // getter和setter省略，可用IDE自动生成
}